package cn.jwm.org.service.imp;


import cn.jwm.base.service.impl.BaseServiceImp;
import cn.jwm.org.domain.Employee;
import cn.jwm.org.mapper.EmployeeMapper;
import cn.jwm.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class EmployeeServiceImpl extends BaseServiceImp<Employee> implements IEmployeeService {

    @Resource
    private EmployeeMapper employeeMapper;



    @Override
    public Employee getByUsername(String username) {
        return employeeMapper.getByUsername(username);
    }
}
